package com.smasher.component.activity

import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import com.smasher.component.R
import com.smasher.core.log.Logger
import com.smasher.widget.stepper.SnappingStepper

class NativeActivity : AppCompatActivity() {
    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_native)

        findViewById<SnappingStepper>(R.id.screen_off_time).setOnValueChangeListener { _, i ->
            Logger.d(TAG, i.toString())
        }

    }

    companion object {
        const val TAG = "Native"
    }
}